package com.software.cool.api.app.v1.service;
import com.software.cool.api.admin.v1.vo.AdminLoginUserVO;
import com.software.cool.api.app.v1.vo.AppVO;
import com.software.cool.api.app.v1.vo.ProjectTestDataVO;
import com.software.cool.api.app.v1.vo.*;

import javax.servlet.http.HttpServletRequest;

/**
 * AppService
 */
public interface IAppV1Service {


    /**
     * 登录
     * @param userName
     * @param password
     * @return
     */
    AdminLoginUserVO login(String userName, String password, HttpServletRequest request);

    /**
     * 获取token有效时间
     * @param token
     * @return
     */
    Long getTokenTime(String token);

    /**
     * 获取最新APP
     * @return
     */
    AppVO getLastedApp(HttpServletRequest request);



}
